package com.dmap.community.po;

import java.io.Serializable;

public class TabCommunityReply implements Serializable {
    /**
     * 主键
     * 表字段 : tab_community_reply.id
     */
    private Long id;

    /**
     * 帖子主键
     * 表字段 : tab_community_reply.themeId
     */
    private Long themeid;

    /**
     * 回复用户id
     * 表字段 : tab_community_reply.userId
     */
    private Long userid;

    /**
     * 
     * 表字段 : tab_community_reply.replyContent
     */
    private String replycontent;

    /**
     * 评论的层级，0-评论主题，1-回复评论
     * 表字段 : tab_community_reply.level
     */
    private Integer level;

    /**
     * 回复时间
     * 表字段 : tab_community_reply.createTime
     */
    private Long createtime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tab_community_reply
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * 用户头像
     */
    private String portraiturl;

    /**
     * 用户昵称
     */
    private String nickname;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tab_community_reply
     *
     * @mbggenerated
     */

    private Integer praiseNum;

    public String getPortraiturl() {
        return portraiturl;
    }

    public void setPortraiturl(String portraiturl) {
        this.portraiturl = portraiturl;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getPraiseNum() {
        return praiseNum;
    }

    public void setPraiseNum(Integer praiseNum) {
        this.praiseNum = praiseNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tab_community_reply
     *
     * @mbggenerated
     */
    public TabCommunityReply(Long id, Long themeid, Long userid, String replycontent, Integer level, Long createtime) {
        this.id = id;
        this.themeid = themeid;
        this.userid = userid;
        this.replycontent = replycontent;
        this.level = level;
        this.createtime = createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tab_community_reply
     *
     * @mbggenerated
     */
    public TabCommunityReply() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_reply.id
     *
     * @return the value of tab_community_reply.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_reply.id
     *
     * @param id the value for tab_community_reply.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_reply.themeId
     *
     * @return the value of tab_community_reply.themeId
     *
     * @mbggenerated
     */
    public Long getThemeid() {
        return themeid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_reply.themeId
     *
     * @param themeid the value for tab_community_reply.themeId
     *
     * @mbggenerated
     */
    public void setThemeid(Long themeid) {
        this.themeid = themeid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_reply.userId
     *
     * @return the value of tab_community_reply.userId
     *
     * @mbggenerated
     */
    public Long getUserid() {
        return userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_reply.userId
     *
     * @param userid the value for tab_community_reply.userId
     *
     * @mbggenerated
     */
    public void setUserid(Long userid) {
        this.userid = userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_reply.replyContent
     *
     * @return the value of tab_community_reply.replyContent
     *
     * @mbggenerated
     */
    public String getReplycontent() {
        return replycontent;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_reply.replyContent
     *
     * @param replycontent the value for tab_community_reply.replyContent
     *
     * @mbggenerated
     */
    public void setReplycontent(String replycontent) {
        this.replycontent = replycontent == null ? null : replycontent.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_reply.level
     *
     * @return the value of tab_community_reply.level
     *
     * @mbggenerated
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_reply.level
     *
     * @param level the value for tab_community_reply.level
     *
     * @mbggenerated
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_reply.createTime
     *
     * @return the value of tab_community_reply.createTime
     *
     * @mbggenerated
     */
    public Long getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_reply.createTime
     *
     * @param createtime the value for tab_community_reply.createTime
     *
     * @mbggenerated
     */
    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tab_community_reply
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", themeid=").append(themeid);
        sb.append(", userid=").append(userid);
        sb.append(", replycontent=").append(replycontent);
        sb.append(", level=").append(level);
        sb.append(", createtime=").append(createtime);
        sb.append("]");
        return sb.toString();
    }
}